#include "reg52.h"
#include "key.h"
#include "delay.h"
#include "nixie.h"
#include "buzzer.h"
unsigned char keynum;
void main(){
	shumaled(1,0);
	while (1){
		keynum=key();
		if(keynum){
			Buzzer_time(100);
			shumaled(1,keynum);
		}
		
	}
}